// 首页网络请求
import { request, request2 } from "./request";

export function getHomeMultidata() {
  return request({
    url: "/home/multidata",
  });
}

export function getHomeGoods(cat, offset) {
  // cat -> 分类, offset -> 页数
  return request2({
    url: "/top/playlist",
    params: {
      cat,
      offset,
    },
  });
}
